package com.bf.electroplating.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bf.electroplating.pojo.entity.ComWorkshop;
import com.bf.electroplating.pojo.vo.workshop.ComWorkshopVO;
import com.bf.electroplating.pojo.dto.workshop.ComWorkshopDTO;
import java.util.List;

/**
* @author 15451
* @description 针对表【com_workshop(车间信息表)】的数据库操作Service
* @createDate 2025-05-09 11:11:32
*/
public interface ComWorkshopService extends IService<ComWorkshop> {
    Page<ComWorkshopVO> getWorkshopList(ComWorkshopDTO dto);
    
    ComWorkshopVO getWorkshopById(String id);
    
    boolean saveWorkshop(ComWorkshopVO vo);
    
    boolean updateWorkshop(ComWorkshopVO vo);
    
    boolean deleteWorkshop(String id);
    
    boolean batchDeleteWorkshop(List<String> ids);

    List< ComWorkshopVO> changelogList ( String id );

    List<ComWorkshop> getDropdowMenu(String companyId);
}
